Use explicit ascii version of movefile for build envs that default to windows
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Mon, 19 Jul 2010 21:40:49 +0000 (21:40 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Mon, 19 Jul 2010 21:40:49 +0000 (21:40 +0000)
bloaty strings.

gpsbabel/kml.c

index 1ce8ff5140be2306d5b4365e3bb60f69bc3dfdb7..63ed9921615987e3e98dd1b53d0a0491fdf953b4 100644 (file)
@@ -347,7 +347,7 @@ kml_wr_deinit(void)
 
        if (posnfilenametmp) {
 #if __WIN32__
-               MoveFileEx(posnfilenametmp, posnfilename,
+               MoveFileExA(posnfilenametmp, posnfilename,
                MOVEFILE_REPLACE_EXISTING);
 #endif
                rename(posnfilenametmp, posnfilename);